package com.xpqh.ksg.common.persistence.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户通知记录
 * </p>
 *
 * @author admin
 * @since 2025-04-16
 */
@Getter
@Setter
@TableName("ksg_user_notice")
public class KsgUserNotice implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户Id
     */
    private Integer userId;

    /**
     * 通知内容Id
     */
    private Integer noticeId;

    /**
     * 是否已读0-未读 1-已读
     */
    private Integer isRead;

    /**
     * 查阅时间
     */
    private Date updateDate;
}

